<?php
/**
 * Created by PhpStorm.
 * User: aha
 * Date: 2017/7/21
 * Time: 20:49
 */

namespace Exam\Controller;


use Tsy\Library\Controller;

/**
 * Class IndexController
 * @package Exam\Controller
 * 用以做初始化工作。
 */
class IndexController extends Controller
{

    function index(){
//        echo "test";
        $doc = new \Document();
//        $doc->loadPDM('Doc/exam.pdm');
//        $doc->generateControllers()->generateModels()->generateObjects();

           $doc->autoFinishControllerByObject(new UserObject());
       
//
    }
}